home *** CD-ROM | disk | FTP | other *** search
- Path: dn106.seacoast.com!user
- From: gpardi@seacoast.com (George Pardi)
- Newsgroups: comp.lang.c
- Subject: Help: wwwwais won't compile for me!
- Date: 18 Apr 1996 02:41:38 GMT
- Organization: NetWorx, Newburyport, MA 01950 USA
- Message-ID: <gpardi-1704962343550001@dn106.seacoast.com>
- NNTP-Posting-Host: dn106.seacoast.com
-
- Hello, all.
-
- OK, I have a confession to make: I know absolutely nothing about C
- programming. I don't want to become a programmer, either, although hats
- off to you folks for the determination you must need to master this
- language. Basically, I'm a Web designer trying to implement SWISH and
- WWWWAIS on my site. I've installed SWISH without difficulty. My problem
- is trying to compile WWWWAIS on my server, which has a CERN 3.0, Sun OS
- 4.1.4 setup.
-
- Using the gcc compiler, I tried a number of syntaxes, all to no avail. In
- each case I got an error message (see below). I searched the Web for
- documentation on gcc and tried a couple of switches, but the results were
- the same each time. In a couple of case I ended up with an "a.out" file.
- I deleted those and started over, this time trying the switched below.
- Anyone have any ideas?
-
- This file is supposed to be an ansi c source.
- File name is wwwwais.25.c and was obtained from
- http://www.eit.com/software/wwwwais/wwwwais.html
-
- Any help appreciated!
-
- George
-
- error messages follow...
-
- northshore% gcc wwwwais.25.c -o wwwwais
- wwwwais.25.c: In function `parsetitle':
- wwwwais.25.c:1377: warning: function returns address of local variable
- wwwwais.25.c:1394: warning: function returns address of local variable
- wwwwais.25.c:1408: warning: function returns address of local variable
- wwwwais.25.c:1412: warning: function returns address of local variable
-
- northshore% gcc wwwwais.25.c -ansi -o wwwwais
- wwwwais.25.c: In function `parsetitle':
- wwwwais.25.c:1377: warning: function returns address of local variable
- wwwwais.25.c:1394: warning: function returns address of local variable
- wwwwais.25.c:1408: warning: function returns address of local variable
- wwwwais.25.c:1412: warning: function returns address of local variable
- ls
-
- --
- I'm still thinking of a witty saying to place here...
-
- gpardi@seacoast.com
-